/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-04-19
 * Time:0:13
 */
class Base {

    Base() {

        System.out.print("Base");

    }

}
public class Alpha extends Base {
    public static void main( String[] args ) {

        new Alpha();//实例化子类对象--其中调用构造方法 Alpha()中的默认的父类构造方法

        //调用父类无参的构造方法

        new Base();

    }
}
